//角色api层
import { get,post } from "../util/request"
export let List=async function(){
    let res = await get("/Role/List");
    return res
}
export let add = async function(params){
    let res = await post("/Role/Add",params)
    return res
}
export let getOne = async function(params){
    let res = await post("/Role/GetOne",params)
    return res
}
export let update = async function(params){
    let res = await post("/Role/Update",params)
    return res
}
export let del = async function(params){
    let res = await post("/Role/delete",params)
    return res
}
